<?php
/**
 * 订餐管理员model
 */
class RestaurantManagerModel extends BaseModel{
	protected $tableName='restaurant_manager';
	protected  $_link = array(
		'RestaurantInfo' => array(
			'mapping_type' => BELONGS_TO,
			'class_name' => 'RestaurantInfo',
			'foreign_key' => 'restaurant_id',
			'mapping_fields' => 'restaurant_name',
			'as_fields' => 'restaurant_name',
		),
	);
}